<?php
	$mem = new Memcache;
	$mem->connect('localhost', 11211);
	$new = $mem->get('new');
	if(!$new){
		$new = 'ceshishuju';
		$mem->add('new',$new,false,10);
		echo 'mysql';
	}else{
		echo 'cache';
	}
		print_r($new)
?>
